package com.enbatis.mybatisplugs.service;

import com.enbatis.mybatisplugs.base.IBaseService;
import com.enbatis.mybatisplugs.entity.SysUser;
import com.enbatis.mybatisplugs.entity.vo.SysUserVO;
import com.enbatis.mybatisplugs.plugin.Pages;
import com.github.pagehelper.Page;
import org.springframework.web.multipart.MultipartFile;


public interface SysUserService extends IBaseService<SysUser> {

   boolean insertUser(SysUserVO user);


  void uploadHeadPhoto(String businessId, MultipartFile file);


  String  previewHeadPhoto(Long id);

  Pages<SysUserVO> pageVO(Page<SysUserVO> page, SysUserVO userVO);
}
